package com.wxzz.elearing.course.service.openfeign.sentinel;

import com.wxzz.elearing.course.service.openfeign.IEnterpriseFeign;
import com.wxzz.elearning.common.dto.FeignEnterpriseDto;
import com.wxzz.elearning.common.vo.ReturnVO;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class EnterpriseFeignImpl implements IEnterpriseFeign {
    @Override
    public ReturnVO<String> selectEnterpriseById(Long enterpriseId) {
        ReturnVO<String> returnVO = new ReturnVO<>();
        returnVO.setCode("500");
        returnVO.setMessage("selectEnterpriseById调用异常");
        return returnVO;
    }

    @Override
    public List<Long> selectAllEnterprise() {
        return new ArrayList<>();
    }

    @Override
    public FeignEnterpriseDto selectEnterpriseDtoById(Long enterpriseId) {
        return new FeignEnterpriseDto();
    }

    @Override
    public Integer selectWxUserCenterImprove(Long wxUserId) {
        return 0;
    }
}
